<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<div id="dialog-add" title="添加友情链接" style="background:white">
	<div id="dialog-popup">
		<div class="sect">
			<s:form id="add-form" namespace="/admin" action="addLink" method="post"
					theme="simple">
				<div class="field">
					<label for="txt_name">网站名称</label>
					<s:textfield id="txt_name" size="10" name="link.name"
								 cssClass="f-input"/>
				</div>
				<div class="field">
					<label for="txt_url">网址</label>
					<s:textfield id="txt_url" size="50" name="link.url"
								 cssClass="f-input"/>
				</div>
				<s:submit  name="commit" id="submit" cssClass="formsubmit"/>
			</s:form>
		</div>
	</div>
</div>